package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.admin.dtos.SensitiveDTO;
import com.heima.model.common.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface AdSensitiveService extends IService<AdSensitive> {

    public ResponseResult list(SensitiveDTO dto);

    public ResponseResult insert(AdSensitive adSensitive);

    public ResponseResult update(AdSensitive adSensitive);

    public ResponseResult delete(Integer id);
    /**
     * 查询敏感词内容列表
     * @return
     */
    public ResponseResult<List<String>> selectAllSensitives();
}
